package com.lms.logisticsmanagementsystem.service;

import com.lms.logisticsmanagementsystem.model.Order;
import com.lms.logisticsmanagementsystem.model.PS;

import java.util.List;

public interface OrderService {
    List<Order> getOrderInfo();

    boolean addOrderInfo(Order order);

    Order getOrderInfoById(Integer id);

    boolean updateOrderInfoById(Order order);

    boolean generateOrder(Integer id);

    boolean addPSInfo(PS ps);

    boolean delOrderInfoById(Integer oid);

    List<PS> getPSInfo();

    boolean updatePSInfoStatusByPSBH(String psbh, String shtime);

    boolean delPSInfoByPSBH(String psbh);

    List<PS> getPSInfoByPSTip(String pstip);

    List<Order> getOrderInfoByOTip(String otip);
}
